import java.util.Scanner;
/**
 * Created with IntelliJ IDEA.
 * Description: 习题测试
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-05-02  18:36
 */
public class Test1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data date = new Data(x,y);
            System.out.println(date.getX() + date.getY());
        }
    }
}

class Data {

    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}
